package com.core.netty.http.work;

import java.util.HashMap;
import java.util.Map;

public class SerlvetUtil {

    private static volatile Map<String, MySerlvet> serlvets = new HashMap<>();

    public static void put(String name, MySerlvet serlvet) {
        serlvets.put(name, serlvet);
    }

    public static MySerlvet get(String name) {
        return serlvets.get(name);
    }

    public static Map<String, MySerlvet> getMap() {
        return serlvets;
    }
}
